package com.sms.platform;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author LaoVan
 * @ClassName SearchStartApp
 * @createTime 2020年08月10日 12:01:00
 */
@SpringBootApplication
@EnableEurekaClient
public class SearchStartApp extends SpringBootServletInitializer {
     public static void main(String[] args) {
             SpringApplication.run(SearchStartApp.class,args);
     }
     @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application){
         return application.sources(SearchStartApp.class);
     }
}
